{{with .Entries}}
<h5>Wpis do księgi</h5>
<form action="/ksiega/wpis" method="post">
    <div><h4>nick*</h4><input type="text" name="nick" value="{{.Nick | html}}" required /></div>
    <div><h4>email</h4><input type="text" name="email" value="{{.Email | html}}" /></div>
    <div><h4>www</h4><input type="text" name="www" value="{{.Www | html}}" /></div>
    <div><h4>treść*</h4><textarea type="text" name="content" required>{{printf "%s" .Content}}</textarea></div><br />
    <center><script type="text/javascript" src="http://www.google.com/recaptcha/api/challenge?k=6LfRfdASAAAAAHYnE9_gZPk3HHytA5b4DztRHxRQ">
    </script>
    <noscript>
        <iframe src="http://www.google.com/recaptcha/api/noscript?k=6LfRfdASAAAAAHYnE9_gZPk3HHytA5b4DztRHxRQ" height="300" width="500" frameborder="0"></iframe><br />
        <textarea name="recaptcha_challenge_field" rows="3" cols="40">
        </textarea>
        <input type="hidden" name="recaptcha_response_field" value="manual_challenge">
    </noscript></center>
    <div><input class="button" type="submit" value="Wpis"><input class="button" type="reset" value="Wyczyść"></div>
</form>
<p>powered by <a href="http://daringfireball.net/projects/markdown/syntax">markdown</a></p>
{{else}}
<h5>Wpis do księgi</h5>
<form action="/ksiega/wpis" method="post">
    <div><h4>nick*</h4><input type="text" name="nick" value="{{.Nick | html}}" required /></div>
    <div><h4>email</h4><input type="text" name="email" /></div>
    <div><h4>www</h4><input type="text" name="www" /></div>
    <div><h4>treść*</h4><textarea type="text" name="content" required></textarea></div><br />
    <center><script type="text/javascript" src="http://www.google.com/recaptcha/api/challenge?k=6LfRfdASAAAAAHYnE9_gZPk3HHytA5b4DztRHxRQ">
    </script>
    <noscript>
        <iframe src="http://www.google.com/recaptcha/api/noscript?k=6LfRfdASAAAAAHYnE9_gZPk3HHytA5b4DztRHxRQ" height="300" width="500" frameborder="0"></iframe><br />
        <textarea name="recaptcha_challenge_field" rows="3" cols="40">
        </textarea>
        <input type="hidden" name="recaptcha_response_field" value="manual_challenge">
    </noscript></center>
    <div><input class="button" type="submit" value="Wpis"><input class="button" type="reset" value="Wyczyść"></div>
</form>
<p>powered by <a href="http://daringfireball.net/projects/markdown/syntax">markdown</a></p>
{{end}}
